package com.yang.thread;

/**
 * @author yang
 * @version 0.1
 * @date 2019/4/12
 */
public class Executors {

    public static void createThreads(Runnable runnable, int threads) {

        for (int i = 0; i < threads; i++) {
            new Thread(runnable).start();
        }
    }

}
